<?php 
require_once 'Uploader.php';
if($_SERVER['REQUEST_METHOD'] == 'POST'){
    $uploader = new Uploader($_FILES['images']);
    $uploader->upload('');
}
?>
<form method="post" action="test.php" enctype="multipart/form-data">
<div><input type="file" name="images[]"></div>
<div><input type="file" name="images[]"></div>
<input type="submit">
</form>